package org.jeecg.modules.relation.relclassclassroom.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: rel_class_classroom
 * @author: baochangrong
 * @Date:   2022-02-17
 * @Version: V1.0
 */
@Data
@TableName("rel_class_classroom")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="rel_class_classroom对象", description="rel_class_classroom")
public class RelClassClassroom implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**班级ID*/
	@Excel(name = "班级ID", width = 15)
    @ApiModelProperty(value = "班级ID")
    private String classId;
	/**教室ID*/
	@Excel(name = "教室ID", width = 15)
    @ApiModelProperty(value = "教室ID")
    private String classroomId;
	/**是否有效(1有效 0无效)*/
	@Excel(name = "是否有效(1有效 0无效)", width = 15)
    @ApiModelProperty(value = "是否有效(1有效 0无效)")
    private Integer classClassroomStatus;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
}
